package com.newcoin.chat.beans.vo;

import java.io.Serializable;

public class UserVo implements Comparable<UserVo>,Serializable {
    private Long id;
    private String account;
    private String mobile;
    private String nickname;
    private String headImgPath;
    private String QRCode;
    private Integer state;
    private String sex;
    private String province;
    private String city;
    private String areaCounty;
    private String circleOfFriendsImg;
    private boolean check = false;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImgPath() {
        return headImgPath;
    }

    public void setHeadImgPath(String headImgPath) {
        this.headImgPath = headImgPath;
    }

    public String getQRCode() {
        return QRCode;
    }

    public void setQRCode(String QRCode) {
        this.QRCode = QRCode;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAreaCounty() {
        return areaCounty;
    }

    public void setAreaCounty(String areaCounty) {
        this.areaCounty = areaCounty;
    }

    public String getCircleOfFriendsImg() {
        return circleOfFriendsImg;
    }

    public void setCircleOfFriendsImg(String circleOfFriendsImg) {
        this.circleOfFriendsImg = circleOfFriendsImg;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", mobile='" + mobile + '\'' +
                ", nickname='" + nickname + '\'' +
                ", headImgPath='" + headImgPath + '\'' +
                ", QRCode='" + QRCode + '\'' +
                ", state=" + state +
                ", sex='" + sex + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", areaCounty='" + areaCounty + '\'' +
                ", circleOfFriendsImg='" + circleOfFriendsImg + '\'' +
                '}';
    }
    @Override
    public int compareTo(UserVo o) {
        return this.nickname.compareTo(o.getNickname());
    }
}
